namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("DI_METERING")]
    public partial class DI_METERING
    {
        [Key]
        [StringLength(40)]
        public string DATA_ID { get; set; }

        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [StringLength(20)]
        public string UPLOAD_BATCH_CODE { get; set; }

        public DateTime? CONFIRM_TIME { get; set; }

        [StringLength(40)]
        public string CONFIRM_USER { get; set; }

        public bool? UPLOAD_STATUS { get; set; }

        public DateTime? UPLOAD_TIME { get; set; }

        [StringLength(40)]
        public string EXTERNAL_CODE { get; set; }

        public bool? IS_LOCKED { get; set; }

        public virtual PL_RC_DETAILS PL_RC_DETAILS { get; set; }
    }
}
